package com.woniu.adopt.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.woniu.adopt.entity.User;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ExcelTarget("userLog")
public class UserLogLoginVo implements Serializable {

    @Excel(name="编号", width = 20)
    private Integer id;
    @ExcelEntity(name="user")
    private User user;
    @Excel(name="登录时间", format="yyyy-MM-dd HH:mm:ss", width = 20)
    private Date logintime;
    @Excel(name="登录ip", width = 20)
    private String ipaddress;
}
